﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace NCEdu.Web.ClassCommittee
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int ClassId=(Convert.ToInt32(strid));
					ShowInfo(ClassId);
				}
			}
		}
		
	private void ShowInfo(int ClassId)
	{
		NCEdu.BLL.ClassCommittee bll=new NCEdu.BLL.ClassCommittee();
		NCEdu.Model.ClassCommittee model=bll.GetModel(ClassId);
		this.lblClassId.Text=model.ClassId.ToString();
		this.lblClassCommitteeName.Text=model.ClassCommitteeName;
		this.lblClassCommitteeDes.Text=model.ClassCommitteeDes;

	}


    }
}
